<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title>Home - Home Page | Student's Site</title>
        <meta charset="utf-8" />
        <meta name="description" content="Place your description here" />
        <meta name="keywords" content="put, your, keyword, here" />
        <meta name="author" content="Templates.com - website templates provider" />
        <link rel="stylesheet" href="customer/css/reset.css" type="text/css" media="all" />
        <link rel="stylesheet" href="customer/css/style.css" type="text/css" media="all" />

        <script type="text/javascript" src="customer/js/cufon-yui.js"></script>
        <script type="text/javascript" src="customer/js/cufon-replace.js"></script>
        <script type="text/javascript" src="customer/js/Myriad_Pro_300.font.js"></script>
        <script type="text/javascript" src="customer/js/Myriad_Pro_400.font.js"></script>
        <script type="text/javascript" src="customer/js/script.js"></script>
    </h:head>
    <h:body id="page1">
            
            <div class="wrap">
                <!-- header -->
                <header>
                    <div class="container">
                        <h1><a href="index.html">Student's site</a></h1>
                           
                        <nav>
                            <ul>
                                <li class="current"><a href="index.xhtml" class="m1">Home Page</a></li>
                            </ul>
                        </nav>
                            <h:form id="search-form">
                            <fieldset>
                                <div class="rowElem">
                                    <h:inputText value="#{customerController.enRoll}"/>
                                    <h:commandLink value="Search" action="#{customerController.prepareList()}"/>
                                </div>
                            </fieldset>
                            </h:form>
                    </div>
                </header>
                
                <div class="container">
                    <!-- aside -->
                    <aside>
                        <h3>Categories</h3>
                        <ul class="categories">
                            <li><span><a href="#">Student Info</a></span></li>
                            <li><span><h:link outcome="/admin/messages/List" value="Admin"/></span></li>
                             
                        </ul>
                        <form action="" id="newsletter-form">
                            <fieldset>
                                <iframe width="230" height="150" frameborder="0" allowfullscreen="" src="http://www.youtube.com/embed/jvITVHmHwCc?rel=0&amp;autoplay=1"></iframe>
                            </fieldset>
                        </form>
                        <h2>Fresh <span>News</span></h2>
                        <ul class="news">
                            <li><strong>June 30, 2010</strong>
                                <h4><a href="#">Sed ut perspiciatis unde</a></h4>
                                Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque. </li>
                            <li><strong>June 14, 2010</strong>
                                <h4><a href="#">Neque porro quisquam est</a></h4>
                                Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit consequuntur magni. </li>
                            <li><strong>May 29, 2010</strong>
                                <h4><a href="#">Minima veniam, quis nostrum</a></h4>
                                Uis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae. </li>
                        </ul>
                    </aside>
                    <!-- content -->

                    <section id="content">
                        <div id="banner">
                            <h2>Professional <span>Online Education <span>Since 1992</span></span></h2>
                        </div><div class="ic">More Website Templates at TemplateMonster.com!</div>
                        <div class="inside">
                            <h:form rendered="#{customerController.enRoll != null and customerController.enRoll != ''}">
                            <h2>Exam <span>Schedule</span></h2>
                            <h:panelGrid columns="1" rendered="#{customerController.schedule.size() >0}" width="100%">
                                <p:dataTable value="#{customerController.schedule}" var="item1" paginator="true" rows="10" 
                                             paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"  
                                             rowsPerPageTemplate="5,10,15" style="width: 100%" >
                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Exam code"/>
                                        </f:facet>
                                        <h:outputText value="#{item1.examId.examId}"/>
                                    </p:column>
                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Start date" />

                                        </f:facet>
                                        <h:outputText value="#{item1.examId.dateStart}">
                                            <f:convertDateTime pattern="MM/dd/yyyy hh:mm" />
                                        </h:outputText>

                                    </p:column>
                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Subject"/>
                                        </f:facet>
                                        <h:outputText value="#{item1.examId.subjectId.suName}"/>
                                    </p:column>
                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Faculty"/>
                                        </f:facet>
                                        <h:outputText value="#{item1.examId.assignFac.firstName} #{item1.examId.assignFac.lastName}"/>
                                    </p:column>
                                </p:dataTable>
                            </h:panelGrid>
                            <br />
                            <h2>Exam <span>Results</span></h2>
                            <h:panelGrid columns="1" rendered="#{customerController.schedule.size() >0}" width="100%">
                                <p:dataTable value="#{customerController.marks}" var="item" paginator="true" rows="20" 
                                             paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"  
                                             rowsPerPageTemplate="10,20,30" style="width: 100%" >

                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Subject"/>
                                        </f:facet>
                                        <h:outputText value="#{item.examId.subjectId.suName}"/>
                                    </p:column>
                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Mark"/>
                                        </f:facet>
                                        <h:outputText value="#{item.mark}"/>
                                    </p:column>
                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Remark"/>
                                        </f:facet>
                                        <h:outputText value="#{item.remark}" rendered="#{item.status}"/>

                                    </p:column>

                                    <p:column>
                                        <f:facet name="header">
                                            <h:outputText value="Recounting date" />
                                        </f:facet>
                                        <h:outputText value="#{item.examId.dateReCounting}">
                                            <f:convertDateTime pattern="MM/dd/yyyy hh:mm" />
                                        </h:outputText>
                                    </p:column>

                                    <p:column style="width: 50px; text-align: center;">
                                        <f:facet name="header">
                                            <h:outputText value="&nbsp;"/>
                                        </f:facet>
                                        <h:commandButton action="#{customerController.prepareCreate()}" title="Recounting"
                                                         value="Recounting" rendered="#{customerController.checkRecounting(item)}">
                                            <f:setPropertyActionListener value="#{item}" target="#{customerController.studentExamsSelected}"/>
                                        </h:commandButton>
                                    </p:column>
                                </p:dataTable>
                            </h:panelGrid>
                            </h:form>
                            <h:form rendered="#{customerController.enRoll == null or customerController.enRoll == ''}">
                                <h2>Recent <span>Articles</span></h2>
                                <ul class="list">
                                   <li><span><img src="customer/images/icon1.png" /></span>
                                      <h4>Careers</h4>
                                      <p>Research shows that the number of students in their final year at university who are planning to take time out when they finish to go travelling is at a record low.</p>
                                   </li>
                                   <li><span><img src="customer/images/icon2.png" /></span>
                                      <h4>Branch Office</h4>
                                      <p>Sponsored academies and converter academies now total 2,886 schools in England, compared with just 203 before the passage of the Academies Act in May 2010.</p>
                                   </li>
                                   <li class="last"><span><img src="customer/images/icon3.png" /></span>
                                      <h4>Student’s Time</h4>
                                      <p>New York City public school students are undergoing rigorous preparation for the redesigned exams, which are likely to cover some material that is not yet in the curriculum.</p>
                                   </li>
                                </ul>
                            </h:form>
                            <br />
                            <h2>Move Forward <span>With Your Education</span></h2>
                            <p><span class="txt1">The Segal AmeriCorps Education Award</span>  is a benefit VISTA, AmeriCorps, and NCCC members receive upon successful completion of their term of service. The award can be used to go to specific schools or repay qualifying student loans. </p>
                            <div class="img-box"><img src="customer/images/1page-img.jpg" />The amount of the Segal AmeriCorps Education Award is tied to the maximum amount of the U.S. Department of Education’s Pell Grant. Since the maximum amount of Pell grants can change from year to year, so can the dollar amounts of education awards. (For terms of service that were approved using 2013 funds, the amount of a full-time education award was $5,550; awards for part-time terms of service are pro-rated based on the amount of a full-time award.) To confirm the award amount for which you are eligible, call your program or project sponsor.</div>

                        </div>
                    </section>
                </div>
                    
            </div>
            
            <!-- footer -->
            <footer>
                <div class="container">
                    <div class="inside">
                        <div class="wrapper">
                            <div class="fleft">24/7 Hotline <span>8.800.146.56.7</span></div>
                            <div class="aligncenter"><a rel="nofollow" href="http://www.templatemonster.com" class="new_window">Website template</a> modified by Group 1 - C0912L<br />
                                <a href="http://www.templates.com/product/3d-models/" class="new_window">3D Models</a> provided by Templates.com</div>
                        </div>
                    </div>
                </div>
            </footer>   

        
    </h:body>
</html>

